package com.amado.course02;

/**
 * 变量
 * 
 * @author Administrator
 *
 */
public class Variable1 {
	public static void main(String[] args) {
		int a = 1, b = 4, c = 3, d = 20, e = 11;
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(d);
		System.out.println(e);
		int x = d + e;
		int y = c + d;
		d = a + e;
		a = a + b;
		b = b + c;
		c = a;
		a = d;
		d = b;
		b = a;
		a = x;
		e = y;
		System.out.println("----");
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(d);
		System.out.println(e);

	}
}
